package cn.iocoder.yudao.module.mon_platform.controller.admin.ys7deviceinfo.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Tag(name = "管理后台 - 监控-萤石设备信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class Ys7DeviceInfoPageReqVO extends PageParam {

    @Schema(description = "设备名称")
    private String displayName;

    @Schema(description = "设备短序列号")
    private String subSerial;

    @Schema(description = "设备长序列号")
    private String fullSerial;

    @Schema(description = "设备在线状态")
    private String status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

    @Schema(description = "项目id")
    private Long houseId;

}
